for %y vw ew vw5 ew5
for %z inst instmb instmbf
read(t=xls, s={%z}{%y}, c2) 2018.xls 25
for !i=1 to 5
for !j=1 to 5
genr {%z}{%y}{!i}{!j}=port{!i}{!j}
delete port{!i}{!j}
next
next

table(7,10) alpha_{%z}{%y}
setcell(alpha_{%z}{%y},2,1,"CAPM")
setcell(alpha_{%z}{%y},3,1,"t-stat")
setcell(alpha_{%z}{%y},4,1,"FF")
setcell(alpha_{%z}{%y},5,1,"t-stat")
setcell(alpha_{%z}{%y},6,1,"ICAPM")
setcell(alpha_{%z}{%y},7,1,"t-stat")
setcell(alpha_{%z}{%y},8,1,"FVIX")
setcell(alpha_{%z}{%y},9,1,"t-stat")
setcell(alpha_{%z}{%y},10,1,"FIVol")
setcell(alpha_{%z}{%y},11,1,"t-stat")
setcell(alpha_{%z}{%y},12,1,"FF4")
setcell(alpha_{%z}{%y},13,1,"t-stat")
setcell(alpha_{%z}{%y},14,1,"FVIX")
setcell(alpha_{%z}{%y},15,1,"t-stat")
setcell(alpha_{%z}{%y},16,1,"FIVol")
setcell(alpha_{%z}{%y},17,1,"t-stat")
setcell(alpha_{%z}{%y},18,1,"FF5")
setcell(alpha_{%z}{%y},19,1,"t-stat")
setcell(alpha_{%z}{%y},20,1,"FF7")
setcell(alpha_{%z}{%y},21,1,"t-stat")
setcell(alpha_{%z}{%y},22,1,"FVIX")
setcell(alpha_{%z}{%y},23,1,"t-stat")
setcell(alpha_{%z}{%y},24,1,"FIVol")
setcell(alpha_{%z}{%y},25,1,"t-stat")
setcell(alpha_{%z}{%y},26,1,"ICAPMVW")
setcell(alpha_{%z}{%y},27,1,"t-stat")
setcell(alpha_{%z}{%y},28,1,"FVIX")
setcell(alpha_{%z}{%y},29,1,"t-stat")
setcell(alpha_{%z}{%y},30,1,"FIVolVW")
setcell(alpha_{%z}{%y},31,1,"t-stat")
setcell(alpha_{%z}{%y},32,1,"ICAPM2")
setcell(alpha_{%z}{%y},33,1,"t-stat")
setcell(alpha_{%z}{%y},34,1,"FVIX")
setcell(alpha_{%z}{%y},35,1,"t-stat")
setcell(alpha_{%z}{%y},36,1,"FF4")
setcell(alpha_{%z}{%y},37,1,"t-stat")
setcell(alpha_{%z}{%y},38,1,"FVIX")
setcell(alpha_{%z}{%y},39,1,"t-stat")
setcell(alpha_{%z}{%y},40,1,"FF6")
setcell(alpha_{%z}{%y},41,1,"t-stat")
setcell(alpha_{%z}{%y},42,1,"FVIX")
setcell(alpha_{%z}{%y},43,1,"t-stat")

setcell(alpha_{%z}{%y},1,2,"Low")
setcell(alpha_{%z}{%y},1,3,"RI 2")
setcell(alpha_{%z}{%y},1,4,"RI 3")
setcell(alpha_{%z}{%y},1,5,"RI 4")
setcell(alpha_{%z}{%y},1,6,"High")
setcell(alpha_{%z}{%y},1,7,"L-H")

for !i=1 to 5
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt
setcell(alpha_{%z}{%y},2,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},3,!i+1,eq{!i}.@tstats(1))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt smb hml
setcell(alpha_{%z}{%y},4,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},5,!i+1,eq{!i}.@tstats(1))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt fvix5 fdmivol11ew
setcell(alpha_{%z}{%y},6,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},7,!i+1,eq{!i}.@tstats(1))
setcell(alpha_{%z}{%y},8,!i+1,eq{!i}.@coefs(3))
setcell(alpha_{%z}{%y},9,!i+1,eq{!i}.@tstats(3))
setcell(alpha_{%z}{%y},10,!i+1,eq{!i}.@coefs(4))
setcell(alpha_{%z}{%y},11,!i+1,eq{!i}.@tstats(4))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt smb hml fvix5 fdmivol11ew
setcell(alpha_{%z}{%y},12,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},13,!i+1,eq{!i}.@tstats(1))
setcell(alpha_{%z}{%y},14,!i+1,eq{!i}.@coefs(5))
setcell(alpha_{%z}{%y},15,!i+1,eq{!i}.@tstats(5))
setcell(alpha_{%z}{%y},16,!i+1,eq{!i}.@coefs(6))
setcell(alpha_{%z}{%y},17,!i+1,eq{!i}.@tstats(6))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt smb hml cma rmw
setcell(alpha_{%z}{%y},18,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},19,!i+1,eq{!i}.@tstats(1))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt smb hml cma rmw fvix5 fdmivol11ew
setcell(alpha_{%z}{%y},20,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},21,!i+1,eq{!i}.@tstats(1))
setcell(alpha_{%z}{%y},22,!i+1,eq{!i}.@coefs(7))
setcell(alpha_{%z}{%y},23,!i+1,eq{!i}.@tstats(7))
setcell(alpha_{%z}{%y},24,!i+1,eq{!i}.@coefs(8))
setcell(alpha_{%z}{%y},25,!i+1,eq{!i}.@tstats(8))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt fvix5 fdmivol11vw
setcell(alpha_{%z}{%y},26,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},27,!i+1,eq{!i}.@tstats(1))
setcell(alpha_{%z}{%y},28,!i+1,eq{!i}.@coefs(3))
setcell(alpha_{%z}{%y},29,!i+1,eq{!i}.@tstats(3))
setcell(alpha_{%z}{%y},30,!i+1,eq{!i}.@coefs(4))
setcell(alpha_{%z}{%y},31,!i+1,eq{!i}.@tstats(4))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt fvix5
setcell(alpha_{%z}{%y},32,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},33,!i+1,eq{!i}.@tstats(1))
setcell(alpha_{%z}{%y},34,!i+1,eq{!i}.@coefs(3))
setcell(alpha_{%z}{%y},35,!i+1,eq{!i}.@tstats(3))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt smb hml fvix5
setcell(alpha_{%z}{%y},36,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},37,!i+1,eq{!i}.@tstats(1))
setcell(alpha_{%z}{%y},38,!i+1,eq{!i}.@coefs(5))
setcell(alpha_{%z}{%y},39,!i+1,eq{!i}.@tstats(5))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt smb hml cma rmw fvix5
setcell(alpha_{%z}{%y},40,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},41,!i+1,eq{!i}.@tstats(1))
setcell(alpha_{%z}{%y},42,!i+1,eq{!i}.@coefs(7))
setcell(alpha_{%z}{%y},43,!i+1,eq{!i}.@tstats(7))
delete eq{!i}
next

equation eq.ls(n) ({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt
setcell(alpha_{%z}{%y},2,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},3,7,eq.@tstats(1))
equation eq.ls(n) ({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt smb hml
setcell(alpha_{%z}{%y},4,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},5,7,eq.@tstats(1))
equation eq.ls(n) ({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt fvix5 fdmivol11ew
setcell(alpha_{%z}{%y},6,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},7,7,eq.@tstats(1))
setcell(alpha_{%z}{%y},8,7,eq.@coefs(3))
setcell(alpha_{%z}{%y},9,7,eq.@tstats(3))
setcell(alpha_{%z}{%y},10,7,eq.@coefs(4))
setcell(alpha_{%z}{%y},11,7,eq.@tstats(4))
equation eq.ls(n) ({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt smb hml fvix5 fdmivol11ew
setcell(alpha_{%z}{%y},12,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},13,7,eq.@tstats(1))
setcell(alpha_{%z}{%y},14,7,eq.@coefs(5))
setcell(alpha_{%z}{%y},15,7,eq.@tstats(5))
setcell(alpha_{%z}{%y},16,7,eq.@coefs(6))
setcell(alpha_{%z}{%y},17,7,eq.@tstats(6))
equation eq.ls(n) ({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt smb hml cma rmw
setcell(alpha_{%z}{%y},18,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},19,7,eq.@tstats(1))
equation eq.ls(n) ({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt smb hml cma rmw fvix5 fdmivol11ew
setcell(alpha_{%z}{%y},20,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},21,7,eq.@tstats(1))
setcell(alpha_{%z}{%y},22,7,eq.@coefs(7))
setcell(alpha_{%z}{%y},23,7,eq.@tstats(7))
setcell(alpha_{%z}{%y},24,7,eq.@coefs(8))
setcell(alpha_{%z}{%y},25,7,eq.@tstats(8))
equation eq.ls(n) ({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt fvix5 fdmivol11vw
setcell(alpha_{%z}{%y},26,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},27,7,eq.@tstats(1))
setcell(alpha_{%z}{%y},28,7,eq.@coefs(3))
setcell(alpha_{%z}{%y},29,7,eq.@tstats(3))
setcell(alpha_{%z}{%y},30,7,eq.@coefs(4))
setcell(alpha_{%z}{%y},31,7,eq.@tstats(4))
equation eq.ls(n) ({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt fvix5
setcell(alpha_{%z}{%y},32,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},33,7,eq.@tstats(1))
setcell(alpha_{%z}{%y},34,7,eq.@coefs(3))
setcell(alpha_{%z}{%y},35,7,eq.@tstats(3))
equation eq.ls(n) ({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt smb hml fvix5
setcell(alpha_{%z}{%y},36,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},37,7,eq.@tstats(1))
setcell(alpha_{%z}{%y},38,7,eq.@coefs(5))
setcell(alpha_{%z}{%y},39,7,eq.@tstats(5))
equation eq.ls(n) ({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt smb hml cma rmw fvix5
setcell(alpha_{%z}{%y},40,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},41,7,eq.@tstats(1))
setcell(alpha_{%z}{%y},42,7,eq.@coefs(7))
setcell(alpha_{%z}{%y},43,7,eq.@tstats(7))
delete eq

for !i=1 to 5
for !j=1 to 5
delete {%z}{%y}{!i}{!j}
next
next
next
next

for %y vw ew vw5 ew5
for %z short shortmb
read(t=xls, s={%z}{%y}, c2) 2018.xls 25
for !i=1 to 5
for !j=1 to 5
genr {%z}{%y}{!i}{!j}=port{!i}{!j}
delete port{!i}{!j}
next
next

table(7,10) alpha_{%z}{%y}
setcell(alpha_{%z}{%y},2,1,"CAPM")
setcell(alpha_{%z}{%y},3,1,"t-stat")
setcell(alpha_{%z}{%y},4,1,"FF")
setcell(alpha_{%z}{%y},5,1,"t-stat")
setcell(alpha_{%z}{%y},6,1,"ICAPM")
setcell(alpha_{%z}{%y},7,1,"t-stat")
setcell(alpha_{%z}{%y},8,1,"FVIX")
setcell(alpha_{%z}{%y},9,1,"t-stat")
setcell(alpha_{%z}{%y},10,1,"FIVol")
setcell(alpha_{%z}{%y},11,1,"t-stat")
setcell(alpha_{%z}{%y},12,1,"FF4")
setcell(alpha_{%z}{%y},13,1,"t-stat")
setcell(alpha_{%z}{%y},14,1,"FVIX")
setcell(alpha_{%z}{%y},15,1,"t-stat")
setcell(alpha_{%z}{%y},16,1,"FIVol")
setcell(alpha_{%z}{%y},17,1,"t-stat")
setcell(alpha_{%z}{%y},18,1,"FF5")
setcell(alpha_{%z}{%y},19,1,"t-stat")
setcell(alpha_{%z}{%y},20,1,"FF7")
setcell(alpha_{%z}{%y},21,1,"t-stat")
setcell(alpha_{%z}{%y},22,1,"FVIX")
setcell(alpha_{%z}{%y},23,1,"t-stat")
setcell(alpha_{%z}{%y},24,1,"FIVol")
setcell(alpha_{%z}{%y},25,1,"t-stat")
setcell(alpha_{%z}{%y},26,1,"ICAPMVW")
setcell(alpha_{%z}{%y},27,1,"t-stat")
setcell(alpha_{%z}{%y},28,1,"FVIX")
setcell(alpha_{%z}{%y},29,1,"t-stat")
setcell(alpha_{%z}{%y},30,1,"FIVolVW")
setcell(alpha_{%z}{%y},31,1,"t-stat")
setcell(alpha_{%z}{%y},32,1,"ICAPM2")
setcell(alpha_{%z}{%y},33,1,"t-stat")
setcell(alpha_{%z}{%y},34,1,"FVIX")
setcell(alpha_{%z}{%y},35,1,"t-stat")
setcell(alpha_{%z}{%y},36,1,"FF4")
setcell(alpha_{%z}{%y},37,1,"t-stat")
setcell(alpha_{%z}{%y},38,1,"FVIX")
setcell(alpha_{%z}{%y},39,1,"t-stat")
setcell(alpha_{%z}{%y},40,1,"FF6")
setcell(alpha_{%z}{%y},41,1,"t-stat")
setcell(alpha_{%z}{%y},42,1,"FVIX")
setcell(alpha_{%z}{%y},43,1,"t-stat")

setcell(alpha_{%z}{%y},1,2,"Low")
setcell(alpha_{%z}{%y},1,3,"Sh 2")
setcell(alpha_{%z}{%y},1,4,"Sh 3")
setcell(alpha_{%z}{%y},1,5,"Sh 4")
setcell(alpha_{%z}{%y},1,6,"High")
setcell(alpha_{%z}{%y},1,7,"H-L")

for !i=1 to 5
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt
setcell(alpha_{%z}{%y},2,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},3,!i+1,eq{!i}.@tstats(1))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt smb hml
setcell(alpha_{%z}{%y},4,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},5,!i+1,eq{!i}.@tstats(1))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt fvix5 fdmivol11ew
setcell(alpha_{%z}{%y},6,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},7,!i+1,eq{!i}.@tstats(1))
setcell(alpha_{%z}{%y},8,!i+1,eq{!i}.@coefs(3))
setcell(alpha_{%z}{%y},9,!i+1,eq{!i}.@tstats(3))
setcell(alpha_{%z}{%y},10,!i+1,eq{!i}.@coefs(4))
setcell(alpha_{%z}{%y},11,!i+1,eq{!i}.@tstats(4))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt smb hml fvix5 fdmivol11ew
setcell(alpha_{%z}{%y},12,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},13,!i+1,eq{!i}.@tstats(1))
setcell(alpha_{%z}{%y},14,!i+1,eq{!i}.@coefs(5))
setcell(alpha_{%z}{%y},15,!i+1,eq{!i}.@tstats(5))
setcell(alpha_{%z}{%y},16,!i+1,eq{!i}.@coefs(6))
setcell(alpha_{%z}{%y},17,!i+1,eq{!i}.@tstats(6))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt smb hml cma rmw
setcell(alpha_{%z}{%y},18,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},19,!i+1,eq{!i}.@tstats(1))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt smb hml cma rmw fvix5 fdmivol11ew
setcell(alpha_{%z}{%y},20,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},21,!i+1,eq{!i}.@tstats(1))
setcell(alpha_{%z}{%y},22,!i+1,eq{!i}.@coefs(7))
setcell(alpha_{%z}{%y},23,!i+1,eq{!i}.@tstats(7))
setcell(alpha_{%z}{%y},24,!i+1,eq{!i}.@coefs(8))
setcell(alpha_{%z}{%y},25,!i+1,eq{!i}.@tstats(8))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt fvix5 fdmivol11vw
setcell(alpha_{%z}{%y},26,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},27,!i+1,eq{!i}.@tstats(1))
setcell(alpha_{%z}{%y},28,!i+1,eq{!i}.@coefs(3))
setcell(alpha_{%z}{%y},29,!i+1,eq{!i}.@tstats(3))
setcell(alpha_{%z}{%y},30,!i+1,eq{!i}.@coefs(4))
setcell(alpha_{%z}{%y},31,!i+1,eq{!i}.@tstats(4))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt fvix5
setcell(alpha_{%z}{%y},32,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},33,!i+1,eq{!i}.@tstats(1))
setcell(alpha_{%z}{%y},34,!i+1,eq{!i}.@coefs(3))
setcell(alpha_{%z}{%y},35,!i+1,eq{!i}.@tstats(3))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt smb hml fvix5
setcell(alpha_{%z}{%y},36,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},37,!i+1,eq{!i}.@tstats(1))
setcell(alpha_{%z}{%y},38,!i+1,eq{!i}.@coefs(5))
setcell(alpha_{%z}{%y},39,!i+1,eq{!i}.@tstats(5))
equation eq{!i}.ls(n) {%z}{%y}1{!i}-{%z}{%y}5{!i} c mkt smb hml cma rmw fvix5
setcell(alpha_{%z}{%y},40,!i+1,eq{!i}.@coefs(1))
setcell(alpha_{%z}{%y},41,!i+1,eq{!i}.@tstats(1))
setcell(alpha_{%z}{%y},42,!i+1,eq{!i}.@coefs(7))
setcell(alpha_{%z}{%y},43,!i+1,eq{!i}.@tstats(7))
delete eq{!i}
next

equation eq.ls(n) -({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt
setcell(alpha_{%z}{%y},2,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},3,7,eq.@tstats(1))
equation eq.ls(n) -({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt smb hml
setcell(alpha_{%z}{%y},4,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},5,7,eq.@tstats(1))
equation eq.ls(n) -({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt fvix5 fdmivol11ew
setcell(alpha_{%z}{%y},6,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},7,7,eq.@tstats(1))
setcell(alpha_{%z}{%y},8,7,eq.@coefs(3))
setcell(alpha_{%z}{%y},9,7,eq.@tstats(3))
setcell(alpha_{%z}{%y},10,7,eq.@coefs(4))
setcell(alpha_{%z}{%y},11,7,eq.@tstats(4))
equation eq.ls(n) -({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt smb hml fvix5 fdmivol11ew
setcell(alpha_{%z}{%y},12,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},13,7,eq.@tstats(1))
setcell(alpha_{%z}{%y},14,7,eq.@coefs(5))
setcell(alpha_{%z}{%y},15,7,eq.@tstats(5))
setcell(alpha_{%z}{%y},16,7,eq.@coefs(6))
setcell(alpha_{%z}{%y},17,7,eq.@tstats(6))
equation eq.ls(n) -({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt smb hml cma rmw
setcell(alpha_{%z}{%y},18,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},19,7,eq.@tstats(1))
equation eq.ls(n) -({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt smb hml cma rmw fvix5 fdmivol11ew
setcell(alpha_{%z}{%y},20,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},21,7,eq.@tstats(1))
setcell(alpha_{%z}{%y},22,7,eq.@coefs(7))
setcell(alpha_{%z}{%y},23,7,eq.@tstats(7))
setcell(alpha_{%z}{%y},24,7,eq.@coefs(8))
setcell(alpha_{%z}{%y},25,7,eq.@tstats(8))
equation eq.ls(n) -({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt fvix5 fdmivol11vw
setcell(alpha_{%z}{%y},26,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},27,7,eq.@tstats(1))
setcell(alpha_{%z}{%y},28,7,eq.@coefs(3))
setcell(alpha_{%z}{%y},29,7,eq.@tstats(3))
setcell(alpha_{%z}{%y},30,7,eq.@coefs(4))
setcell(alpha_{%z}{%y},31,7,eq.@tstats(4))
equation eq.ls(n) -({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt fvix5
setcell(alpha_{%z}{%y},32,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},33,7,eq.@tstats(1))
setcell(alpha_{%z}{%y},34,7,eq.@coefs(3))
setcell(alpha_{%z}{%y},35,7,eq.@tstats(3))
equation eq.ls(n) -({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt smb hml fvix5
setcell(alpha_{%z}{%y},36,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},37,7,eq.@tstats(1))
setcell(alpha_{%z}{%y},38,7,eq.@coefs(5))
setcell(alpha_{%z}{%y},39,7,eq.@tstats(5))
equation eq.ls(n) -({%z}{%y}11-{%z}{%y}51-{%z}{%y}15+{%z}{%y}55) c mkt smb hml cma rmw fvix5
setcell(alpha_{%z}{%y},40,7,eq.@coefs(1))
setcell(alpha_{%z}{%y},41,7,eq.@tstats(1))
setcell(alpha_{%z}{%y},42,7,eq.@coefs(7))
setcell(alpha_{%z}{%y},43,7,eq.@tstats(7))
delete eq

for !i=1 to 5
for !j=1 to 5
delete {%z}{%y}{!i}{!j}
next
next
next
next

